projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0754c46
)
(defsubr): Use XSETPVECTYPE.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 2 Oct 2007 21:06:16 +0000
(21:06 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 2 Oct 2007 21:06:16 +0000
(21:06 +0000)
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index 189fcc0977f081363fd976a5753503e3208e81b8..ae02b454333f60c7cac711a09aeb02183f8a5e37 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-3672,6
+3672,7
@@
defsubr (sname)
{
Lisp_Object sym;
sym = intern (sname->symbol_name);
+ XSETPVECTYPE (sname, PVEC_SUBR);
XSETSUBR (XSYMBOL (sym)->function, sname);
}